package cn.chengpengper.knowledge.api;

/*@formatter:off*/

import org.springframework.ai.chat.ChatResponse;
import reactor.core.publisher.Flux;

/**
 * ____________________
 * < 神兽护体，永无bug! >
 * --------------------
 *
 * @author catwing
 * @version v1.0.0
 * @date 2025/3/9 00:40
 * @description AI 请求接口
 */

/*@formatter:on*/

public interface IAiService {
    ChatResponse generate(String model, String message);

    Flux<ChatResponse> generateSteam(String model, String message);

    Flux<ChatResponse> generateStreamRag(String model, String ragTag, String message);
}
